]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gdm: reset cancellable if cancelled.
authorAlban Browaeys <prahal@yahoo.com>
Mon, 6 Aug 2012 08:21:56 +0000 (10:21 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 26 Aug 2012 12:35:11 +0000 (14:35 +0200)
Otherwise the second attempt tot login after pressing "escape" key
on the login "freeze" and raise an exception about IOError operation
cancelled.

https://bugzilla.gnome.org/show_bug.cgi?id=681537

js/gdm/util.js

index 83b0fe078fe245e3e11c556e9b3d89da04938bd4..d07d1b2e5823ba1238f0d7b743157e12c4b3d376 100644 (file)
@@ -106,6 +106,7 @@ const ShellUserVerifier = new Lang.Class({
 
         if (this._userVerifier)
             this._userVerifier.call_cancel_sync(null);
+        this._cancellable = new Gio.Cancellable();
     },
 
     clear: function() {